From 7d7274573318d4a4c19542d2c08ce464ddd67b61 Mon Sep 17 00:00:00 2001 From: Debian Javascript Maintainers Date: Fri, 8 Nov 2024 04:35:57 +0000 Subject: [PATCH] use-gcc-for-llhttp Gbp-Pq: Name use-gcc-for-llhttp.patch --- llhttp/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llhttp/Makefile b/llhttp/Makefile index c7c34f5..286f008 100644 --- a/llhttp/Makefile +++ b/llhttp/Makefile @@ -24,18 +24,18 @@ clean: build/libllhttp.so: build/c/llhttp.o build/native/api.o \ build/native/http.o - $(CLANG) -shared $^ -Wl,-soname,$(SONAME) -o $@ + gcc -shared $^ -Wl,-soname,$(SONAME) -o $@ build/libllhttp.a: build/c/llhttp.o build/native/api.o \ build/native/http.o $(AR) rcs $@ build/c/llhttp.o build/native/api.o build/native/http.o build/c/llhttp.o: build/c/llhttp.c - $(CLANG) $(CFLAGS) $(INCLUDES) -c $< -o $@ + gcc $(CFLAGS) $(INCLUDES) -c $< -o $@ build/native/%.o: src/native/%.c build/llhttp.h src/native/api.h \ build/native - $(CLANG) $(CFLAGS) $(INCLUDES) -c $< -o $@ + gcc $(CFLAGS) $(INCLUDES) -c $< -o $@ build/llhttp.h: generate build/c/llhttp.c: generate -- 2.30.2